$container:1200px;

body{
  background-color: #f5f5f5;
}
@mixin cl {
  &::after {
    display: block;
    content: '';
    clear: both;
    border: 0;
  }
}


.userMessage{
  text-align: right;
  margin-right: 40px;
  span{
    &:hover{
      color: red;
    }
  }
    
  cursor: pointer;
  height: 20px;
  line-height: 20px;
}

.show{
  display: none;
}
#show{
  display: none;
}
.active1 {
  width: 100%;
  background-color: #fee44e;
  color: #43240c;
}

.aaa{
  width: 100%;
  background-color: white;
  margin-bottom: 10px;
}

#header {
  background-color: red;
  width: $container;
  margin: 0 auto;
  background-color: #fff;
  color: #877a73;
  @include cl();

  .log,
  .search {
    float: left;
    margin: 40px 0;
  }

  .log {
    margin-right: 108px;
    @include cl();

    img {
      height: 75px;
      width: 75px;
      vertical-align: top;
      float: left;
      margin-right: 20px;
    }

    div {
      float: left;
      height: 75px;
      color: #43200c;

      h3 {
        font-size: 28px;
        font-weight: bold;
        margin-top: 8px;
        text-align: center;
        line-height: 40px;
      }

      span {
        line-height: 17px;
        font-size: 12px;
        transform: scale(.8);
      }
    }

  }

  .search {
    border: 3px solid #877a73;
    border-radius: 34px;
    margin-top: 55px;

    input {
      width: 355px;
      height: 43px;
      outline: none;
      padding-left: 10px;
      margin-left: 20px;
    }

    button {
      cursor: pointer;
      width: 124px;
      height: 43px;
      background-color: #fee44e;
      border-radius: 34px;
    }
  }

  .btn {
    float: right;
    margin-top: 50px;
    text-align: center;
    @include cl();

    li {
      float: left;
      margin-left: 50px;
      cursor: pointer;

      img {
        width: 40px;
        display: block;
        margin-left: 3px;
      }

      span {
        font-size: 12px;
      }
    }
  }
}

.banner{
  position: relative;
  width: $container;
  margin: 0 auto;
  @include cl();
  ul{
    width: 226px;;
    background-color: #fcf9e3;
    float: left;
    height: 400px;
    li{
      width: 216px;
      height: 50px;
      line-height: 50px;
      padding: 0 0 0 10px;
      cursor: pointer;
      color:#43240c;
      font-weight: bold;
      &:hover{
        background-color: #fee44e;
        color: #43240c;
      }
    }
    li:nth-child(1){
      color: #43240c;
    }
  }
  .swiper{
    float: right;
    margin: 0;
    height: 400px;
    width: 80%;
    --swiper-theme-color: #fee44e;
    --swiper-navigation-size: 30px;
    img{
      width: 100%;
      height: 400px;
    }
  }
  .classification{
    height: 200px;
    width: 226px;
    background-color: #fcf9e3;
    position: absolute;
    top: 150px;
    span{
      margin: 10px;
      display: inline-block;
      height: 15px;
      line-height: 15px;
      &:hover{
        color: red;
      }
      cursor: pointer;
    }
  }
  .classification>span:nth-child(4n){
    margin-right: 0;
  }
}


.goodsListHeader{
  overflow: hidden;
  width: $container;
  height: 60px;
  background-color: rgba(218, 207, 207, 0.829);
  margin: 10px auto;
  margin-top: 20px;
  text-indent: 2em;
  line-height: 60px;
  font-size: 18px;
  font-weight: bold;
  z-index: 2;
  top: -60px;
  transition: top 1s;
}
.goodsList{
  width: $container;
  margin: 20px auto;
  min-height: 680px;
  @include cl();
  .box{
    cursor: pointer;
    height: 300px;
    width: 243px;
    float: left;
    margin-right: 76px;
    margin-bottom: 30px;
    text-align: center;
    padding-top: 20px;
    background-color: white;
    color: #43240c;
    &:hover{
      box-shadow: 5px 5px 5px #17171637;
    }
    img{
      pointer-events: none;
      width: 180px;
      height: 210px;
      margin-bottom: 5px;
    }
    h3{
      pointer-events: none;
      font-size: 18px;
      text-align: left;
      width: 80%;
      text-align: center;
      margin: 10px auto;
      margin-bottom: 30px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    div{
      pointer-events: none;
      @include cl();
      span:nth-child(1){
        pointer-events: none;
        float: left;
        margin-left: 3px;
        span:nth-child(1){
          color: red;
          font-size: 16px;
          margin-right: 4px;
        }
        span:nth-child(2){
          font-size: small;
          pointer-events: none;
          font-weight: normal;
          text-decoration: line-through;
          line-height: 20px;
        }
      }
      span:nth-child(2){
        pointer-events: none;
        float: right;
        margin-right: 3px;
        color: rgba(95, 86, 86, 0.687);
      }
    }
  }
}

.goodsList>.box:nth-child(4n){
  margin-right: 0;
}

.more{
  width: $container;
  margin: 0 auto;
  text-align: center;
  button{
    width: 100px;
    cursor: pointer;
    height: 50px;
    border-radius: 32px;
    background-color: #fee44e;
    margin: 0 auto;
  }
  margin-bottom: 15px;
}

.top{

  width: 100%;
  min-width: $container;
  position: fixed;
  top: -30px;
  background-color: black;
  color: white;
  line-height: 70px;
}

#footer{
  min-width: $container;
  height: 150px;
  background-color: white;
  text-align: center;
  color: black;
  line-height: 150px;
}

#toStart{
  position: fixed;
  bottom: 180px;
  right: 40px;
  border: 1px solid black;
  text-align: center;
  ul{
    li{
      height: 50px;
      line-height: 50px;
      padding: 0 5px;
      cursor: pointer;
      &:hover{
        background-color: #fee44e;
      }
    }
    li:nth-child(2){
      border-top: 1px solid #000;
    }
    li:nth-child(3){
      border-top: 1px solid #000;
    }
  }
}

.login, .reg{
  width: 500px;
  height: 300px;
  background-color: rgba(250, 249, 247, 0.9);
  position: fixed;
  top: 200px;
  top: calc(50% - 150px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 20px;
  text-align: center;
  h3{
    color: #252525;
    font-size: 22px;
    font-weight: 700;
    margin: 30px;
  }
  input{
    width: 70%;
    outline: none;
    height: 40px;
    border: none;
    // background-color: #877a73;
    color: rgb(14, 2, 2);
    padding-left: 10px;
    margin-left: 10px;
  }
  p{
    height: 25px;
    width: 80%;
    margin-top: 5px;
    font-size: 14px;
  }
  button{
    cursor: pointer;
    background-color: skyblue;
    width: 100px;
    height: 40px;
    border-radius: 15px;
  }
}




#aaaa{
  position: relative;
  @include cl();
  .main {
    @include cl();
    width: 1100px;
    margin: 100px auto;
    .left{
      width: 400px;
      float: left;
      ul {
        padding-left: 10px;
        list-style: none;
        width: 340px;
        border: 1px solid black;
        @include cl();
        li{
          float: left;
          margin-right: 18px;
        }
      }
    }
    .content{
      float: left;
      width: 600px;
      height: 400px;
      background-color: white;
      border: 1px solid black;
      h1{
        font-size: 20px;        
        margin: 10px;
        text-align: left;
        margin-bottom: 10px;
      }
      h2{
        font-size: 18px;
        text-align: left;
        margin: 10px;
      }
      h3{
        margin: 10px;
        line-height: 20px;
        text-align: left;
        margin-top: 50px;
      }
      text-align: center;
      button{
        width: 100px;
        height: 40px;
        cursor: pointer;
        margin: 10px auto;
        margin-top: 50px;
        margin-bottom: 50px;
        background-color: #fee44e;
      }
      div>span:nth-child(1){
        float: left;
        margin-left: 20px;
        span:nth-child(1){
          font-size: 18px;
          color: red;
        }
        span:nth-child(2){
          text-decoration: line-through;
        }
      }
      div>span:nth-child(2){
        float: right;
        margin-right: 20px;
        background-color: #fee44e;
      }

    }
  }

  .showBox {
    position: relative;
    width: 350px;
  }

  .showBox .show1 {
    width: 150px;
    height: 150px;
    background-color: rgba(140, 123, 123, 0.401);
    pointer-events: none;
  }

  


  .reight {
    position: absolute;
    
    left: 420px;
    width: 400px;
    height: 400px;
    overflow: hidden;
    margin-left: 20px;
    z-index: 1;
  }

  .reight>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 933px;
    height: 933px;
  }



}

.active {
  display: none;
}

.vis {
  visibility: hidden;
}
#bigimg{
  width: 350px;
  height: 350px;
}
#smimg{
  width: 50px;
  height: 50px;
}

